import React from 'react';
import { Tag } from 'antd';
import { CheckCircleOutlined } from '@ant-design/icons';
// 表格数据

// export const FormColumns: ColumnProps<columnType>[] = [
export const FormColumns: any = [
  {
    title: '疫苗接种剂次',
    dataIndex: 'vaccinationDosage',
    key: 'vaccinationDosage',
    render: (value) => (
      <Tag icon={<CheckCircleOutlined />} color="success">
        第{value}批次
      </Tag>
    )
  },
  {
    title: '接种该疫苗的鸡舍数',
    dataIndex: 'vaccinationHenhouseQuantity',
    key: 'vaccinationHenhouseQuantity',
    sorter: (a: any, b: any) => a.num - b.num
  },
  {
    title: '接种该疫苗的肉鸡总数',
    dataIndex: 'vaccinationTotal',
    key: 'vaccinationTotal'
  },
  {
    title: '未接种该疫苗的肉鸡总数',
    dataIndex: 'undoVaccinationTotal',
    key: 'undoVaccinationTotal',

  },
  {
    title: '截止时间',
    dataIndex: 'deadline',
    key: 'deadline'
  }
];
//复选框的接口
export interface DataType {
  key: React.Key;
  id: string;
  name: string;
  age: number;
  address: string;
}
